.class Lcom/instagram/android/maps/d;
.super Ljava/lang/Object;
.source "PhotoMapsActivity.java"

# interfaces
.implements Landroid/view/View$OnClickListener;


# instance fields
.field final synthetic a:Lcom/instagram/android/maps/PhotoMapsActivity;


# direct methods
.method constructor <init>(Lcom/instagram/android/maps/PhotoMapsActivity;)V
    .locals 0
    .parameter

    .prologue
    .line 278
    iput-object p1, p0, Lcom/instagram/android/maps/d;->a:Lcom/instagram/android/maps/PhotoMapsActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 3
    .parameter "v"

    .prologue
    .line 281
    iget-object v0, p0, Lcom/instagram/android/maps/d;->a:Lcom/instagram/android/maps/PhotoMapsActivity;

    invoke-static {v0}, Lcom/instagram/android/maps/PhotoMapsActivity;->l(Lcom/instagram/android/maps/PhotoMapsActivity;)Ljava/util/List;

    move-result-object v0

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-lez v0, :cond_0

    .line 282
    iget-object v0, p0, Lcom/instagram/android/maps/d;->a:Lcom/instagram/android/maps/PhotoMapsActivity;

    invoke-static {v0}, Lcom/instagram/android/maps/PhotoMapsActivity;->l(Lcom/instagram/android/maps/PhotoMapsActivity;)Ljava/util/List;

    move-result-object v0

    const/4 v1, 0x0

    invoke-interface {v0, v1}, Ljava/util/List;->remove(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/instagram/android/maps/ai;

    .line 285
    iget-object v1, p0, Lcom/instagram/android/maps/d;->a:Lcom/instagram/android/maps/PhotoMapsActivity;

    invoke-static {v1}, Lcom/instagram/android/maps/PhotoMapsActivity;->f(Lcom/instagram/android/maps/PhotoMapsActivity;)Lcom/instagram/android/maps/ui/n;

    move-result-object v1

    new-instance v2, Lcom/instagram/android/maps/e;

    invoke-direct {v2, p0, v0}, Lcom/instagram/android/maps/e;-><init>(Lcom/instagram/android/maps/d;Lcom/instagram/android/maps/ai;)V

    invoke-virtual {v1, v2}, Lcom/instagram/android/maps/ui/n;->post(Ljava/lang/Runnable;)Z

    .line 293
    :cond_0
    iget-object v0, p0, Lcom/instagram/android/maps/d;->a:Lcom/instagram/android/maps/PhotoMapsActivity;

    invoke-static {v0}, Lcom/instagram/android/maps/PhotoMapsActivity;->g(Lcom/instagram/android/maps/PhotoMapsActivity;)V

    .line 294
    return-void
.end method
